home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Technology Seed / Jan. '98 ATS.toast / QuickTime™ 3.0b11 / QTPublicInterfaces / RIncludes / QuickTimeComponents.r < prev    next >
Encoding:
Text File  |  1998-01-12  |  2.2 KB  |  96 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        QuickTimeComponents.r
  3.  
  4.      Contains:    QuickTime interfaces
  5.  
  6.      Version:    Technology:    
  7.                  Release:    QuickTime 3.0 Beta
  8.  
  9.      Copyright:    © 1990-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __QUICKTIMECOMPONENTS_R__
  20. #define __QUICKTIMECOMPONENTS_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26. #define canMovieImportHandles             0x01
  27. #define canMovieImportFiles             0x02
  28. #define hasMovieImportUserInterface     0x04
  29. #define canMovieExportHandles             0x08
  30. #define canMovieExportFiles             0x10
  31. #define hasMovieExportUserInterface     0x20
  32. #define dontAutoFileMovieImport         0x40
  33. #define canMovieExportAuxDataHandle     0x80
  34. #define canMovieImportValidateHandles     0x0100
  35. #define canMovieImportValidateFile         0x0200
  36. #define dontRegisterWithEasyOpen         0x0400
  37. #define canMovieImportInPlace             0x0800
  38. #define movieImportSubTypeIsFileExtension  0x1000
  39. #define canMovieImportPartial             0x2000
  40. #define hasMovieImportMIMEList             0x4000
  41. #define canMovieExportFromProcedures     0x8000
  42. #define canMovieExportValidateMovie     0x00010000
  43. #define movieExportNeedsResourceFork     0x00020000
  44. #define canMovieImportDataReferences     0x00040000
  45. #define reservedForUseByGraphicsImporters  0x00800000
  46.  
  47. #define kMimeInfoMimeTypeTag             'mime'
  48. #define kMimeInfoFileExtensionTag         'ext '
  49. #define kMimeInfoDescriptionTag         'desc'
  50.  
  51.  
  52. type 'mime' {
  53.     // 10 bytes of reserved
  54.     longint = 0;
  55.     longint = 0;
  56.     integer = 0;
  57.     // 2 bytes of lock count
  58.     integer = 0;
  59.     
  60.     // size of this atom
  61.     parentStart:
  62.     longint = ( (parentEnd - parentStart) / 8 );
  63.     
  64.     // atom type
  65.     literal longint = 'sean';
  66.     
  67.     // atom id
  68.     longint = 1;
  69.     integer = 0;
  70.     integer =  $$CountOf(AtomArray);
  71.     longint = 0;
  72.     
  73.     array AtomArray {
  74.         atomStart:
  75.         // size of this atom
  76.         longint = ((atomEnd[$$ArrayIndex(AtomArray)] - atomStart[$$ArrayIndex(AtomArray)]) / 8);
  77.         
  78.         // atom type
  79.         literal longint;
  80.         
  81.         // atom id
  82.         longint;
  83.         integer = 0;
  84.         integer = 0; // no children
  85.         longint = 0;
  86.         string;
  87.         atomEnd:
  88.         };
  89.     parentEnd:
  90.         
  91. };
  92.  
  93.  
  94. #endif /* __QUICKTIMECOMPONENTS_R__ */
  95.  
  96.